﻿namespace FFF.Test.Entity.Demo.Dto
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Framework.Dto;
    using FFF.Test.Entity.Demo.View;       

	/// <summary>
    /// 学生表展示时候的dto
    /// </summary>
	[AutoMapFrom(typeof(DemoStudent2Entity))] 
    public partial class DemoStudent2Dto :  BaseEntityDto<Guid>
    {
		/// <summary>
        /// 名称
        /// </summary>
		[Display(Name = "名称", Description = "名称")]
        [Column("StudentName")]
		[StringLength(128)]
        public string StudentName { get; set; }
        
		/// <summary>
        /// 年龄
        /// </summary>
		[Display(Name = "年龄", Description = "年龄")]
        [Column("StudentAge")]
        public int? StudentAge { get; set; }
        
		/// <summary>
        /// 生日
        /// </summary>
		[Display(Name = "生日", Description = "生日")]
        [Column("StudentBirthday")]
        public DateTime? StudentBirthday { get; set; }
        
		/// <summary>
        /// 身高
        /// </summary>
		[Display(Name = "身高", Description = "身高")]
        [Column("StudentHeight")]
        public decimal? StudentHeight { get; set; }
        
		/// <summary>
        /// 是否VIP
        /// </summary>
		[Display(Name = "是否VIP", Description = "是否VIP")]
        [Column("StudentIsVip")]
        public byte? StudentIsVip { get; set; }
        
		/// <summary>
        /// 学生等级(1,学霸;2,普通;3,学渣)
        /// </summary>
		[Display(Name = "学生等级(1,学霸;2,普通;3,学渣)", Description = "学生等级(1,学霸;2,普通;3,学渣)")]
        [Column("StudentLevel")]
        public DemoStudent2StudentLevelEnum? StudentLevel { get; set; }
        
		/// <summary>
        /// 班级GUID
        /// </summary>
		[Display(Name = "班级GUID", Description = "班级GUID")]
        [Column("ClassGUID")]
        public Guid? ClassGUID { get; set; }
        
		/// <summary>
        /// 学生描述
        /// </summary>
		[Display(Name = "学生描述", Description = "学生描述")]
        [Column("StudentDesc")]
		[StringLength(9999999)]
        public string StudentDesc { get; set; }
        
		/// <summary>
        /// 学生爱好(篮球;足球;羽毛球;跑步)
        /// </summary>
		[Display(Name = "学生爱好(篮球;足球;羽毛球;跑步)", Description = "学生爱好(篮球;足球;羽毛球;跑步)")]
        [Column("StudentFavor")]
		[StringLength(512)]
        public string StudentFavor { get; set; }
        
		/// <summary>
        /// 学生头像(上传图片)
        /// </summary>
		[Display(Name = "学生头像(上传图片)", Description = "学生头像(上传图片)")]
        [Column("StudentStudentHeadUrl")]
		[StringLength(512)]
        public string StudentStudentHeadUrl { get; set; }
        
		/// <summary>
        /// 学生自传
        /// </summary>
		[Display(Name = "学生自传", Description = "学生自传")]
        [Column("StudentMeRemark")]
		[StringLength(9999999)]
        public string StudentMeRemark { get; set; }
        
		/// <summary>
        /// 学生个人资料(上传文件)
        /// </summary>
		[Display(Name = "学生个人资料(上传文件)", Description = "学生个人资料(上传文件)")]
        [Column("StudentFile")]
		[StringLength(512)]
        public string StudentFile { get; set; }
        
		/// <summary>
        /// 学生年级
        /// </summary>
		[Display(Name = "学生年级", Description = "学生年级")]
        [Column("StudentGarde")]
		[StringLength(256)]
        public string StudentGarde { get; set; }
        
		/// <summary>
        /// 学生性别
        /// </summary>
		[Display(Name = "学生性别", Description = "学生性别")]
        [Column("IsMan")]
        public byte? IsMan { get; set; }
        
    }
    
    /// <summary>
    /// 学生表新增时候的dto
    /// </summary>
	[AutoMap(typeof(DemoStudent2Entity))]
    [AutoMapFrom(typeof(ViewDemoStudent2))] 
    public partial class DemoStudent2CreateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 名称
        /// </summary>
		[Display(Name = "名称", Description = "名称")]
        [Column("StudentName")]
		[StringLength(128)]
        public string StudentName { get; set; }
        
		/// <summary>
        /// 年龄
        /// </summary>
		[Display(Name = "年龄", Description = "年龄")]
        [Column("StudentAge")]
        public int? StudentAge { get; set; }
        
		/// <summary>
        /// 生日
        /// </summary>
		[Display(Name = "生日", Description = "生日")]
        [Column("StudentBirthday")]
        public DateTime? StudentBirthday { get; set; }
        
		/// <summary>
        /// 身高
        /// </summary>
		[Display(Name = "身高", Description = "身高")]
        [Column("StudentHeight")]
        public decimal? StudentHeight { get; set; }
        
		/// <summary>
        /// 是否VIP
        /// </summary>
		[Display(Name = "是否VIP", Description = "是否VIP")]
        [Column("StudentIsVip")]
        public byte? StudentIsVip { get; set; }
        
		/// <summary>
        /// 学生等级(1,学霸;2,普通;3,学渣)
        /// </summary>
		[Display(Name = "学生等级(1,学霸;2,普通;3,学渣)", Description = "学生等级(1,学霸;2,普通;3,学渣)")]
        [Column("StudentLevel")]
        public DemoStudent2StudentLevelEnum? StudentLevel { get; set; }
        
		/// <summary>
        /// 班级GUID
        /// </summary>
		[Display(Name = "班级GUID", Description = "班级GUID")]
        [Column("ClassGUID")]
        public Guid? ClassGUID { get; set; }
        
		/// <summary>
        /// 学生描述
        /// </summary>
		[Display(Name = "学生描述", Description = "学生描述")]
        [Column("StudentDesc")]
		[StringLength(9999999)]
        public string StudentDesc { get; set; }
        
		/// <summary>
        /// 学生爱好(篮球;足球;羽毛球;跑步)
        /// </summary>
		[Display(Name = "学生爱好(篮球;足球;羽毛球;跑步)", Description = "学生爱好(篮球;足球;羽毛球;跑步)")]
        [Column("StudentFavor")]
		[StringLength(512)]
        public string StudentFavor { get; set; }
        
		/// <summary>
        /// 学生头像(上传图片)
        /// </summary>
		[Display(Name = "学生头像(上传图片)", Description = "学生头像(上传图片)")]
        [Column("StudentStudentHeadUrl")]
		[StringLength(512)]
        public string StudentStudentHeadUrl { get; set; }
        
		/// <summary>
        /// 学生自传
        /// </summary>
		[Display(Name = "学生自传", Description = "学生自传")]
        [Column("StudentMeRemark")]
		[StringLength(9999999)]
        public string StudentMeRemark { get; set; }
        
		/// <summary>
        /// 学生个人资料(上传文件)
        /// </summary>
		[Display(Name = "学生个人资料(上传文件)", Description = "学生个人资料(上传文件)")]
        [Column("StudentFile")]
		[StringLength(512)]
        public string StudentFile { get; set; }
        
		/// <summary>
        /// 学生年级
        /// </summary>
		[Display(Name = "学生年级", Description = "学生年级")]
        [Column("StudentGarde")]
		[StringLength(256)]
        public string StudentGarde { get; set; }
        
		/// <summary>
        /// 学生性别
        /// </summary>
		[Display(Name = "学生性别", Description = "学生性别")]
        [Column("IsMan")]
        public byte? IsMan { get; set; }
        
    }
     
     /// <summary>
    /// 学生表更新时候Dto
    /// </summary>
	[AutoMap(typeof(DemoStudent2Entity))]
    [AutoMapFrom(typeof(ViewDemoStudent2))] 
    public partial class DemoStudent2UpdateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 名称
        /// </summary>
		[Display(Name = "名称", Description = "名称")]
        [Column("StudentName")]
		[StringLength(128)]
        public string StudentName { get; set; }
        
		/// <summary>
        /// 年龄
        /// </summary>
		[Display(Name = "年龄", Description = "年龄")]
        [Column("StudentAge")]
        public int? StudentAge { get; set; }
        
		/// <summary>
        /// 生日
        /// </summary>
		[Display(Name = "生日", Description = "生日")]
        [Column("StudentBirthday")]
        public DateTime? StudentBirthday { get; set; }
        
		/// <summary>
        /// 身高
        /// </summary>
		[Display(Name = "身高", Description = "身高")]
        [Column("StudentHeight")]
        public decimal? StudentHeight { get; set; }
        
		/// <summary>
        /// 是否VIP
        /// </summary>
		[Display(Name = "是否VIP", Description = "是否VIP")]
        [Column("StudentIsVip")]
        public byte? StudentIsVip { get; set; }
        
		/// <summary>
        /// 学生等级(1,学霸;2,普通;3,学渣)
        /// </summary>
		[Display(Name = "学生等级(1,学霸;2,普通;3,学渣)", Description = "学生等级(1,学霸;2,普通;3,学渣)")]
        [Column("StudentLevel")]
        public DemoStudent2StudentLevelEnum? StudentLevel { get; set; }
        
		/// <summary>
        /// 班级GUID
        /// </summary>
		[Display(Name = "班级GUID", Description = "班级GUID")]
        [Column("ClassGUID")]
        public Guid? ClassGUID { get; set; }
        
		/// <summary>
        /// 学生描述
        /// </summary>
		[Display(Name = "学生描述", Description = "学生描述")]
        [Column("StudentDesc")]
		[StringLength(9999999)]
        public string StudentDesc { get; set; }
        
		/// <summary>
        /// 学生爱好(篮球;足球;羽毛球;跑步)
        /// </summary>
		[Display(Name = "学生爱好(篮球;足球;羽毛球;跑步)", Description = "学生爱好(篮球;足球;羽毛球;跑步)")]
        [Column("StudentFavor")]
		[StringLength(512)]
        public string StudentFavor { get; set; }
        
		/// <summary>
        /// 学生头像(上传图片)
        /// </summary>
		[Display(Name = "学生头像(上传图片)", Description = "学生头像(上传图片)")]
        [Column("StudentStudentHeadUrl")]
		[StringLength(512)]
        public string StudentStudentHeadUrl { get; set; }
        
		/// <summary>
        /// 学生自传
        /// </summary>
		[Display(Name = "学生自传", Description = "学生自传")]
        [Column("StudentMeRemark")]
		[StringLength(9999999)]
        public string StudentMeRemark { get; set; }
        
		/// <summary>
        /// 学生个人资料(上传文件)
        /// </summary>
		[Display(Name = "学生个人资料(上传文件)", Description = "学生个人资料(上传文件)")]
        [Column("StudentFile")]
		[StringLength(512)]
        public string StudentFile { get; set; }
        
		/// <summary>
        /// 学生年级
        /// </summary>
		[Display(Name = "学生年级", Description = "学生年级")]
        [Column("StudentGarde")]
		[StringLength(256)]
        public string StudentGarde { get; set; }
        
		/// <summary>
        /// 学生性别
        /// </summary>
		[Display(Name = "学生性别", Description = "学生性别")]
        [Column("IsMan")]
        public byte? IsMan { get; set; }
        
    }
}
